package file.constant;

/**
 * 鼠标左键
 * @Author: zou
 * @email: 704572528@qq.com
 * @Date: 2020/10/30 13:24
 */
public enum  MenuItemEnum {
    /**
     * 创建文件
     */
    createFile(1,"新建文件"),
    /**
     * 创建文件夹
     */
    createFolder(2,"新建文件夹"),
    /**
     * 重命名
     */
    reName(3,"重命名"),

    /**
     * 删除
     */
    remove(4,"删除"),
    /**
     * 移动
     */
    shear(5,"剪切"),
    /**
     * 返回
     */
    back(6,"返回"),
    /**
     * 复制
     */
    copy(7,"复制"),
    /**
     * 粘贴
     */
    paste(8,"粘贴");

    private int code;
    private String name;

    MenuItemEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
